Skip to content

Instantly share code, notes, and snippets.

@lucasrmagalhaes
lucasrmagalhaes / espacamento.html
Last active December 28, 2025 00:04
HTML - Códigos
<!DOCTYPE html>
<!-- Adicionar Espaçamentos -->
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@tomdaley92
tomdaley92 / README.md
Last active December 28, 2025 00:01
Proxmox - SPICE Client setup for MacOS

Proxmox - SPICE client setup for MacOS

  1. Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.

    brew tap jeffreywildman/homebrew-virt-manager
    brew install virt-viewer
  2. Once that's installed should be able make a call remote-viewer with a pve-spice.vv file downloaded from proxmox web interface

@omltcat
omltcat / caddy_labels.md
Last active December 28, 2025 00:00
Caddy with Docker Labels: Easy config for wildcard certs and Authelia

What is this?

One great feature of caddy-docker-proxy is that you can quickly define config rules with Docker Compose labels in each containers on the fly like Traefik, instead of at a centralized place. With this feature, we can define everything in compose files, and don't ever need to mess with a config file (Caddyfile or JSON).

Taking advantage of snippets, I created this docker-compose.yaml example so that you can quickly define routing rules and add authetication like Authelia with just 3 lines of labels below each docker container you use.

With this example, should not ever need to manually edit Caddyfile config.

When you add a new container, you just need to do this:

networks:
@jcberthon
jcberthon / networkmanager-wifi-powersave.md
Last active December 27, 2025 23:58
NetworkManager Wi-Fi powersaving configuration

NetworkManager WiFi Power Saving

NetworkManager supports WiFi powersaving but the function is rather undocumented.

From the source code: wifi.powersave can have the following value:

  • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
  • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
  • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
@Klerith
Klerith / ReactNative-instalaciones.md
Last active December 27, 2025 23:56
Instalaciones recomendadas para el curso de React Native

React Logo

Instalaciones - Curso de React Native

Esta es la lista de instalaciones recomendadas para el curso de React Native, si encuentran enlaces adicionales o cambios en esta hoja, pueden hacerlos.

@sinceohsix
sinceohsix / Installing LiveContainer+Sidestore.md
Last active December 27, 2025 23:55
Installing LiveContainer+SideStore from start to finish.

A full rewrite of this guide is coming verrrry soon.

This guide was written as a fast way to help people get back some of their sideloaded apps after the mass revocation wave a few months back. Thanks to some new software this process has gotten a LOT simpler and faster. This guide was still being shared around which was causing confusion that I was unaware of (I'm sorry about that 😥), to try and fix this, I have written a completely new guide that is much easier to read and follow.

I am proof-reading it and adding final touches then it will be ready to be released again here so you can continue to share it with people, and I will try my best to keep it up to date as new software is released.

Thank you everyone for actually using this and sharing it, I was unaware of how "popular" it had gotten, so I hope this new guide can help you all out even more than the last one.

NOTE: Over time, old comments will be deleted as they will no longer apply here at all, they will simply cause confusion.

@JoaquinRuiz
JoaquinRuiz / app.py
Created December 12, 2025 19:49
RAG Local con Ollama y Python: Crea tu propio ChatGPT privado (Código del Tutorial de Youtube) https://youtu.be/sj1yzbXVXM0?si=xgB6NVUKMmESCQmW
import os
import bs4
from langchain_community.document_loaders import WebBaseLoader
from langchain_community.vectorstores import Chroma
from langchain_ollama import OllamaEmbeddings
from langchain_ollama import OllamaLLM
from langchain_text_splitters import RecursiveCharacterTextSplitter
# defino user agent para evitar bloqueos
os.environ["USER_AGENT"] = "Mañobot/1.0"
@Clemv95
Clemv95 / ygg-api-download.yml
Last active December 27, 2025 23:49 — forked from LimeDrive/ygg-api.yml
Indexeur ygg-api pour jackett / prowlarr
---
id: yggapi
name: YggAPI
description: Indexeur non-officiel pour YggTorrent (YGG) - MOVIES / TV
language: fr-FR
type: private
encoding: UTF-8
testlinktorrent: false
links:
- https://yggapi.eu/
@ivanfioravanti
ivanfioravanti / mlx_memory.sh
Created January 4, 2025 16:42
Script to set MLX memory limits
#!/usr/bin/env bash
# Default values for percentages
DEFAULT_WIRED_LIMIT_PERCENT=85
DEFAULT_WIRED_LWM_PERCENT=75
# Read input parameters or use default values
WIRED_LIMIT_PERCENT=${1:-$DEFAULT_WIRED_LIMIT_PERCENT}
WIRED_LWM_PERCENT=${2:-$DEFAULT_WIRED_LWM_PERCENT}
@WillianTomaz
WillianTomaz / wsl2-with-1password-info.md
Last active December 27, 2025 23:40
Instructions for using 1Password SSH Agent with WSL2 (on Windows 11)

LinkedIn

Saturday, April 22, 2023

How to Use 1Password SSH Agent with WSL2 (on Windows 11)

  • Note:

    • Always look for the official documentation, this tutorial may not suit you as there are new updates to the installation process.
    • References are at the end of the document.
  • Was used: